package cn.org.donald.pojo.dto.system;

import cn.org.donald.framework.pojo.dto.Page;
import cn.org.donald.pojo.entity.system.LogOperator;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @author : Donald
 * @since : 2021/2/9 11:28
 */
public class QueryLogOperatorDto extends Page<LogOperator> {

    private String path;

    private String title;

    private String operatorName;

    private String requestType;

    private Integer code;

    /**耗时区间*/
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Long timeConsumeStart;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Long timeConsumeEnd;

    private String application;

    /**创建日期区间*/
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date queryDateEnd;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date queryDateStart;

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }


    public String getOperatorName() {
        return operatorName;
    }

    public void setOperatorName(String operatorName) {
        this.operatorName = operatorName;
    }

    public String getRequestType() {
        return requestType;
    }

    public void setRequestType(String requestType) {
        this.requestType = requestType;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }


    public Date getQueryDateEnd() {
        return queryDateEnd;
    }

    public void setQueryDateEnd(Date queryDateEnd) {
        this.queryDateEnd = queryDateEnd;
    }

    public Date getQueryDateStart() {
        return queryDateStart;
    }

    public void setQueryDateStart(Date queryDateStart) {
        this.queryDateStart = queryDateStart;
    }

    public String getApplication() {
        return application;
    }

    public void setApplication(String application) {
        this.application = application;
    }

    public Long getTimeConsumeStart() {
        return timeConsumeStart;
    }

    public void setTimeConsumeStart(Long timeConsumeStart) {
        this.timeConsumeStart = timeConsumeStart;
    }

    public Long getTimeConsumeEnd() {
        return timeConsumeEnd;
    }

    public void setTimeConsumeEnd(Long timeConsumeEnd) {
        this.timeConsumeEnd = timeConsumeEnd;
    }
}
